{% extends 'base.html' %}
{% block title %}{{parent|default:"top"}}{% endblock %}

{% block content %}
<h1>Categories list for {{parent|default:"top"}}</h1>
<ul>
  {% for category in categories %}
    <li>
      <a href="{% url photo.views.category_list category.get_url %}">{{ category.title }}</a>
    </li>
  {% endfor %}
</ul>
{% endblock %}
